<?php

class AppBaseLogicApp extends BaseApp
{
    var $type = NULL;
    var $table_id = 0;	
	
	function __construct($tableid='',$app='') 
	{
      $this->AppBaseLogicApp($tableid,$app);
	}
		
	function AppBaseLogicApp($tableid='',$app='') 
	{
	   $this->table_id = $tableid;
	   $this->type = $app;	      
	   parent::__construct();
	}  

	function do_action($action) {
		if ($action && $action {
			0 }
		!= '_' && method_exists($this, $action)) {
			$this->_curr_action = $action;
			$this->_run_action(); //运行动作
		}
	}

	function _run_action() {
		$action = $this->_curr_action;
		$this->_act_return = $this-> $action ();
	}	

    function index()
    {
       return '';
    }
	
	  
    function show()
    {
       return '';
    }
	


    function edit()
    {
 
       return '';
    }

    function editpost()
    {
 	      
       return '';
    }
	
	
    function add()
    {
		
       return '';
    }

    function addpost()
    {

       return '';
    }

    function hui()
    {
       return '';

    }

		
}




?>